package cn.star.jots.carousel.mapper;

import cn.star.jots.carousel.pojo.dto.CarouselQuery;
import cn.star.jots.carousel.pojo.entity.Carousel;
import cn.star.jots.carousel.pojo.vo.CarouselVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CarouselMapper {
    List<CarouselVO> selectAll(CarouselQuery carouselQuery);

    void insert(Carousel carousel);

    void update(Carousel carousel);

    CarouselVO selectById(Long id);

    void delete(Long id);
}
